(function (jarvisframeTools) {

    "use strict";

    function metaDataProvider(type, imageId )
    {
        if(type === 'imagePlane') {
                var backmetaData = jarvisframeTools.jarvisMetaData.getMetaDatabyImageID(imageId);
                //console.log('backmetaData',backmetaData);
                return backmetaData ;




/*                return {
                    frameOfReferenceUID: '1.2.3.4.5',
                    rows: 256,
                    columns: 256,
                    rowCosines: new jarvisframeMath.Vector3(0, 1, 0),
                    columnCosines: new jarvisframeMath.Vector3(0, 0, -1),
                    imagePositionPatient: new jarvisframeMath.Vector3(-9.4, -92.5, 98),
                    columnPixelSpacing: 0.78,
                    rowPixelSpacing: 0.78
                };*/


        }
        return undefined;
    }
    jarvisframeTools.metaData.addProvider(metaDataProvider);

}(jarvisframeTools));